package cosplay.DAO;

import java.util.List;

import cosplay.beans.Users;

public interface UserDAO {
	public int add(Users user);
	public boolean delete(int id);
	public boolean edit(Users user, int id);
	public Users get(int id);
	public List<Users> getAll();
	public List<Users> getLastJoined();
	public int verify(String uname);
	public boolean login (int userid,String logip);
	public Users getByName(String uname);
	public byte[] getHeadImage(int userid);
}
